package cn.wolfcode.designpattern.templatemethod;

import java.util.List;

/**
 * @author Leon
 * @date 2021/2/28
 */
public interface IBaseDao<T> {

    public void save(T obj);

    public void update(T obj);

    public void delete(Long id);

    public T get(Long id);

    public List<T> list();
}
